package com.tgy.service.user;

import com.tgy.dao.user.UserDao;
import com.tgy.entity.SmbmsUser;

import javax.annotation.Resource;
import java.util.List;

/***
 * @ClassName: userService
 * @Description:
 * @Auther: 送一一块二向箔
 * @Date: 22:54 2021/12/9
 * @version : V1.0
 */
public interface UserService {
    public SmbmsUser login(String username, String password);
    public boolean updPassword(String username, String password);
    public int getUserByLimit (String name,int role);
    public List<SmbmsUser> getUserList(String name, int roleCode, int currentPageNo, int pageSize);
    public boolean add(SmbmsUser user);
}
